<template>
  <div class="nanning-screen-border-box" :style="{ background: `url(${bgImg}) no-repeat`, backgroundSize: '100% 100%'}">
    <slot></slot>
  </div>
</template>

<script lang="ts">
import { Component, Vue, Prop } from 'vue-property-decorator'
@Component({
  name: 'nanning-screen-border-box'
})
export default class NanningScreenBorderBox extends Vue {
  @Prop({ required: true }) private bgImg!: string
}
</script>

<style lang="scss" scoped>
.nanning-screen-border-box {
  width: 100%;
  height: 100%;
}
</style>
